package org.sy.lab.Java7并发编程实战.一线程管理.十一线程组中不可控异常的处理;

public class Main {
	public static void main(String[] args) {
		MyThreadGroup threadGroup = new MyThreadGroup("MyThreadGroup");
		Task task = new Task();
		for(int i=0; i<2; i++) {
			Thread t = new Thread(threadGroup, task);
			t.start();
		}
	}
}
